package dao;
import tool.RowMapper;
import tool.BaseDao;
import java.util.List;
import java.sql.SQLException;
import java.sql.ResultSet;
import entity.PermissionstbEntity;
import dao.mapper.PermissionstbDAOI;

/**
*@author JiangFan
*/
public class PermissionstbDAO extends BaseDao implements PermissionstbDAOI {

}
class PermissionstbRowMapper implements RowMapper<PermissionstbEntity>{
	@Override
	public PermissionstbEntity rowmap(ResultSet set) throws  SQLException{
		return new PermissionstbEntity(
			set.getString("permissions_id"),
			set.getString("permissions_level"),
			set.getString("user_id")
		);
	}
}
